cmake_minimum_required(VERSION 3.1)
project(STATIC_CONST)

# output path
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH})

message("output path ${EXECUTABLE_OUTPUT_PATH}")
message("output library path ${LIBRARY_OUTPUT_PATH}")

set(STATIC_CONST_HEADERS a.h)

set(STATIC_CONST_SOURCES a.cpp main.cpp)

include_directories(${PROJECT_SOURCE_DIR})

# exe
add_executable(xxxx ${STATIC_CONST_SOURCES})




